﻿<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>用户列表</title>
  </head>

  <body>
    <h1>用户列表</h1>
    <ul>
      {% for user in users %}
        <li>
          <a href="{% url 'App:userdetail' user.id %}">{{ user.name }}-{{ user.age }}</a>
        </li>
      {% endfor %}
    </ul>

    <hr />
  </body>
</html>
